package com.company.project.dao;

import com.company.project.core.Mapper;
import com.company.project.model.College;
import com.company.project.model.Job;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JobMapper extends Mapper<Job> {

    Integer countForPage(@Param("userId") int userId);

    List<College> selectForPage(@Param("userId") int userId,@Param("start") int start, @Param("end") int end);

    int changeStatus(@Param("id") int id,@Param("status") int status);
}